Skip to main content
Version: 1.0.0

setColor(hexColor)

change color of all colored elements in widget

You can change the color by using setColor() method :

window.arcaptcha.setColor("#eee");

You can also do it by setting data-color property on widget container :

<div class="arcaptcha" data-site-key="SITE_KEY" data-color="#eee"></div>

You can try any color on widget in demo-page